#ifndef __COREA_H_
#define __COREA_H_ 

#include "factory.h"
#include <iostream>

class CoreA final: public BaseCore
{
    public:
        CoreA() = default;
        ~CoreA() = default;
        CoreA(const CoreA&) = default;
        CoreA& operator= (const CoreA&) = default;
    public:
        virtual void Run() override
        {
            std::cout << "CoreA running" << std::endl;
        }
};

// 利用全局对象自动注册
REGISTER_OBJECT_CORE(CoreA);
#endif
